           package com.java.diagnostics.visualizer.parser.vgc.constants;
           
           public class VGCGCScopes extends Enumerator
           {
             public static final String IMMORTAL = "immortal";
             public static final String PERMANENT = "permanent";
             public static final String HEAP = "heap";
             public static final String GLOBAL = "global";
             public static final String SCAVENGE = "scavenge";
             public static final String NURSERY = "nursery";
             public static final String PARTIAL = "partial gc";
             public static final String GMP = "global mark phase";
             public static final String GGC = "global garbage collect";
             public static final String YOUNG = "young";
             public static final String G1_PARTIAL = "partial";
             public static final String FULL_GC = "full gc";
             public static final String FOREGROUND = "Foreground GC";
             public static final String SCAVENGER = "scavenger";
             private static final String[] STRINGS = { "scavenger", "global", "heap", 
               "immortal", "permanent", "scavenge", "partial gc", "global mark phase", "global garbage collect", "young", "partial", "full gc" };
           
             private static final String[] DISPLAY_NAMES = { "nursery", "global", "heap", 
               "immortal", "permanent", "nursery", "partial gc", "global mark phase", "global garbage collect", "young", "partial", "Foreground GC" };
           
             private static final Enumerator instance = new VGCGCScopes();
           
             public static final int GLOBAL_INT = nameToInt("global");
             public static final int NURSERY_INT = nameToInt("scavenger");
             public static final int SCAVENGE_INT = nameToInt("scavenge");
             public static final int PARTIAL_INT = nameToInt("partial gc");
             public static final int GMP_INT = nameToInt("global mark phase");
             public static final int GGC_INT = nameToInt("global garbage collect");
             public static final int YOUNG_INT = nameToInt("young");
             public static final int G1_PARTIAL_INT = nameToInt("partial");
             public static final int FULL_GC_INT = nameToInt("full gc");
           
             protected String[] getStrings()
             {
               return STRINGS;
             }
           
             public static int nameToInt(String name) {
               return instance.internalNameToInt(name);
             }
           
             public static String intToName(int number) {
               return instance.internalIntToName(number);
             }
           
             public static String intToDisplayName(int number) {
               if ((number < 0) || (number > DISPLAY_NAMES.length - 1)) {
                 return "unknown";
               }
               return DISPLAY_NAMES[number];
             }
           }

